# $Id: PKGBUILD 88518 2013-04-19 10:30:46Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Brian Knox <taotetek@gmail.com>

pkgname=libestr
pkgver=0.1.5
pkgrel=1
pkgdesc="essentials for string handling (and a bit more)"
url="http://libestr.adiscon.com/"
arch=('i686' 'x86_64')
license=('LGPL2.1')
depends=()
options=(!libtool)
source=("http://libestr.adiscon.com/files/download/libestr-$pkgver.tar.gz")
md5sums=('f180c0cdc82883d161eba3f2e8a34eb4')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}
package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make install DESTDIR=${pkgdir}
}
